<?php /* Smarty version 2.6.18, created on 2010-09-21 16:21:29
         compiled from alumni/profile/view_profile_completion.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'alumni/profile/view_profile_completion.tpl', 57, false),)), $this); ?>
<div id="solvay_content2010">
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "alumni/public/left_menu.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	
  <div id="content2010_right">
    <div class="ctn_contentright2010">
      <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "alumni/public/top_menu.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
      <div class="content_tab">
        <div class="title_contenttab">
          <table cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr>
              <td align="left"> Profile completion</td>
              <td align="right">
              	<div class="viewright">
                  <span class="shownumber"><?php echo $this->_tpl_vars['MEMBER_LOGIN']['completion']; ?>
%</span>
                  <ul>
                  	<?php unset($this->_sections['foo']);
$this->_sections['foo']['name'] = 'foo';
$this->_sections['foo']['start'] = (int)1;
$this->_sections['foo']['loop'] = is_array($_loop=$this->_tpl_vars['MEMBER_LOGIN']['completion']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['foo']['step'] = ((int)1) == 0 ? 1 : (int)1;
$this->_sections['foo']['show'] = true;
$this->_sections['foo']['max'] = $this->_sections['foo']['loop'];
if ($this->_sections['foo']['start'] < 0)
    $this->_sections['foo']['start'] = max($this->_sections['foo']['step'] > 0 ? 0 : -1, $this->_sections['foo']['loop'] + $this->_sections['foo']['start']);
else
    $this->_sections['foo']['start'] = min($this->_sections['foo']['start'], $this->_sections['foo']['step'] > 0 ? $this->_sections['foo']['loop'] : $this->_sections['foo']['loop']-1);
if ($this->_sections['foo']['show']) {
    $this->_sections['foo']['total'] = min(ceil(($this->_sections['foo']['step'] > 0 ? $this->_sections['foo']['loop'] - $this->_sections['foo']['start'] : $this->_sections['foo']['start']+1)/abs($this->_sections['foo']['step'])), $this->_sections['foo']['max']);
    if ($this->_sections['foo']['total'] == 0)
        $this->_sections['foo']['show'] = false;
} else
    $this->_sections['foo']['total'] = 0;
if ($this->_sections['foo']['show']):

            for ($this->_sections['foo']['index'] = $this->_sections['foo']['start'], $this->_sections['foo']['iteration'] = 1;
                 $this->_sections['foo']['iteration'] <= $this->_sections['foo']['total'];
                 $this->_sections['foo']['index'] += $this->_sections['foo']['step'], $this->_sections['foo']['iteration']++):
$this->_sections['foo']['rownum'] = $this->_sections['foo']['iteration'];
$this->_sections['foo']['index_prev'] = $this->_sections['foo']['index'] - $this->_sections['foo']['step'];
$this->_sections['foo']['index_next'] = $this->_sections['foo']['index'] + $this->_sections['foo']['step'];
$this->_sections['foo']['first']      = ($this->_sections['foo']['iteration'] == 1);
$this->_sections['foo']['last']       = ($this->_sections['foo']['iteration'] == $this->_sections['foo']['total']);
?>
                    	<li></li>	
                    <?php endfor; endif; ?>  
                  </ul>
                </div>
              </td>
              </tr>
          </table>
       	</div>
       <div class="ctn_texttab">
        <table cellpadding="0" cellspacing="0" border="0" width="100%">
          <tr>
            <td width="190">
            	<img src="<?php echo @APPLICATION_URL; ?>
public/css/img/solvay2010_imgright_avatar170x180.png" width="170" height="180" style="background:url(<?php echo @APPLICATION_URL; ?>
images/avatar/<?php echo $this->_tpl_vars['MEMBER_LOGIN']['avatar']; ?>
) no-repeat center top" alt="" />
            </td>
            <td valign="top">
              <table cellpadding="0" cellspacing="0" border="0" width="100%">
                <tr>
                    <td class="text_14">Full name: <strong><?php echo $this->_tpl_vars['MEMBER_LOGIN']['full_name']; ?>
</strong> (<?php if ($this->_tpl_vars['MEMBER_LOGIN']['gender'] == 0): ?>male<?php else: ?>female<?php endif; ?>)</td>
                </tr>
               <tr>
                    <td height="15"></td>
                </tr>
                <tr>
                    <td  class="text_14"><?php echo $this->_tpl_vars['arrMemberContact']['address']; ?>
, <?php echo $this->_tpl_vars['arrMemberContact']['location_name']; ?>
, Vietnam</td>
                </tr> 
            	</table>
            </td>
         	</tr>
          <tr>
          	<td colspan="2" height="10"></td>
         	</tr>
          <tr>
          	<td width="190" class="text_13">Intake</td>
            <td class="text_13"><?php echo $this->_tpl_vars['MEMBER_LOGIN']['intake_name']; ?>
</td>
         	</tr>
          <tr>
            <td colspan="2" height="10"></td>
          </tr>
          <tr>
            <td width="190" class="text_13_bg">Date of birth</td>
              <td class="text_13_bg"><?php echo ((is_array($_tmp=$this->_tpl_vars['MEMBER_LOGIN']['dob'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d-%m-%Y") : smarty_modifier_date_format($_tmp, "%d-%m-%Y")); ?>
</td>
          </tr>
          <tr>
            <td colspan="2" height="10"></td>
          </tr>
          <tr>
            <td width="190" class="text_13">Place of birth</td>
              <td class="text_13"><?php echo $this->_tpl_vars['MEMBER_LOGIN']['location_name']; ?>
</td>
          </tr>
          <tr>
            <td colspan="2" height="10"></td>
          </tr>
          <tr>
            <td width="190" class="text_13_bg">Private Email</td>
              <td class="text_13_bg"><?php if ($this->_tpl_vars['arrMemberContact']['private_email'] == ''): ?>[empty]<?php else: ?><?php echo $this->_tpl_vars['arrMemberContact']['private_email']; ?>
<?php endif; ?></td>
          </tr>
          <tr>
            <td colspan="2" height="10"></td>
          </tr>
          <tr>
            <td width="190" class="text_13">Business Email</td>
              <td class="text_13">
              	<a href="#" class="link_mail"><?php if ($this->_tpl_vars['arrMemberContact']['business_email'] == ''): ?>[empty]<?php else: ?><?php echo $this->_tpl_vars['arrMemberContact']['business_email']; ?>
<?php endif; ?></a>
              </td>
          </tr>
          <tr>
            <td colspan="2" height="10"></td>
          </tr>
          <tr>
            <td width="190" class="text_13_bg">Private Tel</td>
              <td class="text_13_bg"><?php if ($this->_tpl_vars['arrMemberContact']['private_tel'] == ''): ?>[empty]<?php else: ?><?php echo $this->_tpl_vars['arrMemberContact']['private_tel']; ?>
<?php endif; ?></td>
          </tr>
          <tr>
            <td colspan="2" height="10"></td>
          </tr>
          <tr>
            <td width="190" class="text_13">Business Tel</td>
              <td class="text_13"><?php if ($this->_tpl_vars['arrMemberContact']['business_tel'] == ''): ?>[empty]<?php else: ?><?php echo $this->_tpl_vars['arrMemberContact']['business_tel']; ?>
<?php endif; ?></td>
          </tr>
          <tr>
            <td colspan="2" height="10"></td>
          </tr>
          <tr>
            <td width="190" class="text_13_bg">Company (ToS)</td>
              <td class="text_13_bg"><?php echo $this->_tpl_vars['MEMBER_LOGIN']['company_tos']; ?>
</td>
          </tr>
          <tr>
            <td colspan="2" height="10"></td>
          </tr>
          <tr>
            <td width="190" class="text_13">Position (ToS)</td>
              <td class="text_13"><?php echo $this->_tpl_vars['MEMBER_LOGIN']['position_tos']; ?>
</td>
          </tr>
          <tr>
            <td colspan="2" height="10"></td>
          </tr>
          <tr>
            <td width="190" valign="top">
                <table cellpadding="0" cellspacing="0" border="0" width="100%">
                    <tr>
                        <td class="text_13_bg">Current positions</td>
                      </tr> 
               </table>
              </td>
              <td valign="top">
                <table cellpadding="0" cellspacing="0" border="0" width="100%">
                		<?php $_from = $this->_tpl_vars['arrMemberCurrentPosition']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['nameCP'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nameCP']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['keyCP'] => $this->_tpl_vars['itemCP']):
        $this->_foreach['nameCP']['iteration']++;
?>
                    <tr>
                      <td class="text_13_bg"> + <?php echo $this->_tpl_vars['itemCP']['title']; ?>
 at <?php echo $this->_tpl_vars['itemCP']['company']; ?>
</td>
                    </tr> 
                    <tr>
                      <td class="text_13">(<?php echo $this->_tpl_vars['itemCP']['industry_name']; ?>
)</td>
                    </tr> 
                   	<?php endforeach; endif; unset($_from); ?>
                  </table>
             </td>
          </tr>
            
          <tr>
            <td colspan="2" height="10"></td>
          </tr>
          <tr>
            <td width="190" valign="top">
                <table cellpadding="0" cellspacing="0" border="0" width="100%">
                    <tr>
                        <td class="text_13_bg">Past positions</td>
                      </tr> 
               </table>
              </td>
              <td valign="top">
                <table cellpadding="0" cellspacing="0" border="0" width="100%">	
                		<?php $_from = $this->_tpl_vars['arrMemberPastPosition']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['namePP'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['namePP']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['keyPP'] => $this->_tpl_vars['itemPP']):
        $this->_foreach['namePP']['iteration']++;
?>
                    <tr>
                    	<td class="text_13_bg">+  From <?php echo ((is_array($_tmp=$this->_tpl_vars['itemPP']['date_from'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%Y") : smarty_modifier_date_format($_tmp, "%d/%m/%Y")); ?>
 to <?php echo ((is_array($_tmp=$this->_tpl_vars['itemPP']['date_to'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%Y") : smarty_modifier_date_format($_tmp, "%d/%m/%Y")); ?>
</td>
                   	</tr> 
                    <tr>
                    	<td class="text_13">
                      	<?php echo $this->_tpl_vars['itemPP']['title']; ?>
 at <?php echo $this->_tpl_vars['itemPP']['company']; ?>
<br />
                        (<?php echo $this->_tpl_vars['itemPP']['industry_name']; ?>
)
                     	</td>
                    </tr> 
                    <?php endforeach; endif; unset($_from); ?>
                  </table>
             </td>
          </tr>
        </table>
            
        <div class="note_bottom">* ToS : Time of study</div>
    	</div>
    </div>
 	</div>
</div>

</div>